	@Override
	@org.springframework.transaction.annotation.Transactional
	public void moveToRow(String parentID,int targetRow, String sourceID) {
		String id = ${module.name ? uncap_first}Dao.getIdByRow(parentID, targetRow);
		moveToRow(parentID,id,sourceID);
	}
	
	@Override
	@org.springframework.transaction.annotation.Transactional
	public void moveToRow(String parentID,String targetID, String sourceID) {
		//如果targetID==sourceID直接返回
		if(targetID.equals(sourceID)) {
			return;
		}
		//按照序号字段排序，查询targetID对应的行号tn
		Integer tn = ${module.name ? uncap_first}Dao.getOrderNum(targetID);
		//按照序号字段排序，查询sourceID对应的行号sn
		Integer sn = ${module.name ? uncap_first}Dao.getOrderNum(sourceID);
		
		//如果tn>sn（向下移动），更新大于等于tn行号的记录全部+1
		if(tn.intValue() > sn.intValue()) {
			${module.name ? uncap_first}Dao.increaseOrderNum(parentID, tn, -1);
		//如果tn<sn（向上移动），更新大于等于tn且小于等于sn行号的记录全部+1
		}else if(tn.intValue() < sn.intValue()){
			${module.name ? uncap_first}Dao.increaseOrderNum(parentID, tn, sn);
		}
		
		//更新sourceID记录的序号为tn
		${module.name ? uncap_first}Dao.updateOrderNum(sourceID, tn);
	}
